/**
 * Created by will on 2017/9/23.
 */
$(function(){
    //引入公共部分
    $("#public-style").load("./easytrip-header.html")
//    搜索选择框
    //Demo
    layui.use('form', function(){
        var form = layui.form;

        //监听提交
        form.on('submit(formDemo)', function(data){
            layer.msg(JSON.stringify(data.field));
            return false;
        });
    });
})